#ifndef _SHELL_ADDATTRIBUTE_BEAN_H_
#define _SHELL_ADDATTRIBUTE_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class AddAttribute : public Bean
{
	public:
	AddAttribute();
	~AddAttribute();
	void reset();
	AddAttribute* clone();
	//附加属性类型:1.力量。2体质。3智力。4耐力
	int8 type;
	//附加属性值
	int32 value;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
